package com.masterclient.app.businessmodule.settingmodule.bankcard.contract;

import com.eoner.baselib.presenter.FCBasePresenter;
import com.eoner.baselib.presenter.IFCBaseView;
import com.masterclient.app.businessmodule.settingmodule.bankcard.bean.NewBankBean;
import com.masterclient.app.businessmodule.settingmodule.bankcard.bean.NewBankCardBean;

/**
 * 作者：sean
 * 创建时间：2017/10/23 17:34
 * 功能说明：
 */

public interface BankCardManageContract {

    interface View extends IFCBaseView {
        void getBankSuccess(NewBankBean data);
        void getBankFailed(String msg);
        void BankManageSuccess();
        void BankManageFailed(String msg);
        void showBankCard(NewBankCardBean data);
        void getBankCardFail(String msg);

        void BankRemoveSuccess();
        void BankRemoveFailed(String msg);

        void getCaptchaSuccess();
        void getCaptchaFailed();
        void getCaptchaFailed(String msg);
    }

    abstract static class Presenter extends FCBasePresenter<View> {

        public abstract void getBank();
        public abstract void bankManage(String real_name,String id_number,String card_number,String bank_code,String bank_tel,String type,String captcha);
        public abstract void bankRemove(String id);
        public abstract void getSettingBankCardInfo();
        public abstract void getCaptcha(String mobile,String type,String ne);
    }
}